import service from '@/utils/request'

// 获取歌单详情
export function getSongList (id) {
  return service({
    url: `/playlist/detail?id=${id}`,
    method: 'get'
  })
}

// 获取改歌单所有歌曲
export function getSongListAll (id, limit, offset) {
  return service({
    url: `/playlist/track/all?id=${id}&limit=${limit}&offset=${offset}`,
    method: 'get'
  })
}
